<html>
<head>
    <meta charset="utf-8">
    <title>UBuilding Dolphin Manager</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Le styles -->
    <link href="//v2.bootcss.com/assets/css/bootstrap.css" rel="stylesheet">

    <style type="text/css">
        body {
            padding-top: 40px;
            padding-bottom: 40px;
            background-color: #f5f5f5;
        }

        .form-signin {
            max-width: 300px;
            padding: 19px 29px 29px;
            margin: 0 auto 20px;
            background-color: #fff;
            border: 1px solid #e5e5e5;
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            border-radius: 5px;
            -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
            -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
            box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
        }

        .form-signin .form-signin-heading,
        .form-signin .checkbox {
            margin-bottom: 10px;
        }

        .form-signin input[type="text"],
        .form-signin input[type="password"] {
            font-size: 16px;
            height: auto;
            margin-bottom: 15px;
            padding: 7px 9px;
        }

    </style>
    <link href="//v2.bootcss.com/assets/css/bootstrap-responsive.css" rel="stylesheet">

    <!-- Fav and touch icons -->
    <link rel="apple-touch-icon-precomposed" sizes="144x144"
          href="//v2.bootcss.com/assets/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114"
          href="//v2.bootcss.com/assets/ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72"
          href="//v2.bootcss.com/assets/ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="//v2.bootcss.com/assets/ico/apple-touch-icon-57-precomposed.png">
    <link rel="shortcut icon" href="//v2.bootcss.com/assets/ico/favicon.png">
</head>

<body>

<div class="container">

    <form class="form-signin" accept-charset="UTF-8" method="post" action="${ctx}/login">
        <h2 class="form-signin-heading">配置管理平台</h2>
        <input type="hidden" name="submit" value="true">

        <input type="text" class="input-block-level" placeholder="用户名" name="userName" required
               oninvalid="setCustomValidity('请输入用户名')" oninput="setCustomValidity('')">

        <input type="password" class="input-block-level" placeholder="密码" name="password" required
               oninvalid="setCustomValidity('请输入密码')" oninput="setCustomValidity('')">

    <#if showNotice>
        <div class="alert alert-error ">
            <a class="close" data-dismiss="alert">×</a>
            <small>${notice}</small>
        </div>
    </#if>

    <#--<label class="checkbox">-->
    <#--<input type="checkbox" value="remember-me"> Remember me-->
    <#--</label>-->
        <button class="btn btn-large btn-block btn-primary" type="submit">登陆</button>
    </form>

</div>
<!-- /container -->

<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="//v2.bootcss.com/assets/js/jquery.js"></script>
<script src="//v2.bootcss.com/assets/js/bootstrap-transition.js"></script>
<script src="//v2.bootcss.com/assets/js/bootstrap-alert.js"></script>
<script src="//v2.bootcss.com/assets/js/bootstrap-modal.js"></script>
<script src="//v2.bootcss.com/assets/js/bootstrap-dropdown.js"></script>
<script src="//v2.bootcss.com/assets/js/bootstrap-scrollspy.js"></script>
<script src="//v2.bootcss.com/assets/js/bootstrap-tab.js"></script>
<script src="//v2.bootcss.com/assets/js/bootstrap-tooltip.js"></script>
<script src="//v2.bootcss.com/assets/js/bootstrap-popover.js"></script>
<script src="//v2.bootcss.com/assets/js/bootstrap-button.js"></script>
<script src="//v2.bootcss.com/assets/js/bootstrap-collapse.js"></script>
<script src="//v2.bootcss.com/assets/js/bootstrap-carousel.js"></script>
<script src="//v2.bootcss.com/assets/js/bootstrap-typeahead.js"></script>
</body>
</html>